package com.example.servicea.feign;

import com.example.servicea.feign.fallback.ServiceBFallBackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(name = "serviceb", path = "/bb", fallbackFactory = ServiceBFallBackFactory.class)
public interface ServiceBFeignClient {

    @RequestMapping("/test/info")
    String msg();

}
